Blog posts with category Angular Snippets

Cover Image for How to Retain Previous Values During Angular Resource Refetch

How to Retain Previous Values During Angular Resource Refetch

2026-01-19
3 min read

Have you ever noticed a brief flicker or a flash of empty data on your Angular UI when a resource is refetching? It's a common scenario: your application initiates a data fetch, and for a moment, the old data disappears before the new data arrives, leaving a less-than-ideal user experience.

Cover Image for Use withResource to seamlessly combine Resources with Ngrx Signals Store!

Use withResource to seamlessly combine Resources with Ngrx Signals Store!

2026-01-16
2 min read

Angular applications often need to fetch data from APIs, and managing the state of that data – including loading and error states – can sometimes feel like a repetitive task. If you're using Ngrx Signals Store, there's a neat solution in the "Ngrx Toolkit" package called withResource that streamlines this process beautifully.

Back to the blog